package org.gdstash.file;

public class ARCFileString {
    private String fileName;
    private int tocIndex;
    private byte[] data;
    private String text;

    public ARCFileString(final String fileName) {
        this.fileName = fileName;
        this.tocIndex = -1;
    }

    @Override
    public String toString() {
        return this.fileName;
    }

    public String getFileName() {
        return this.fileName;
    }

    public int getToCIndex() {
        return this.tocIndex;
    }

    public void setToCIndex(final int index) {
        this.tocIndex = index;
    }

    public void setText(final String text) {
        this.text = text;
    }

    public String getText() {
        return this.text;
    }

    public void setData(final byte[] data) {
        this.data = data;
    }

    public byte[] getData() {
        return this.data;
    }
}
